package com.cdcgeek.bean;

/**
 * 暴鲤龙类
 */
public class Tyrannosaurus implements PocketMonster {
    // 名称
    private String name;
    // 等级
    private Integer rank;

    public Tyrannosaurus() {
    }

    public Tyrannosaurus(String name, Integer rank) {
        this.name = name;
        this.rank = rank;
    }

    @Override
    public void fight() {
        System.out.println("破坏死光！");
    }
}
